#include <iostream>
#include "department.h"	

	Department::Department(){}
	Department::Department(const int _id,const char* _name,const vector<Employee> _ems)
	{
		n_id = _id;
		n_name = _name;
		ems  = _ems;			
	}
	Department::Department(const Department& that)
	{
		n_id = that.n_id;
		n_name = that.n_name;
		ems  = that.ems;
	}
	Department& Department::operator = (const Department& that)
	{
		if(this != &that)
		{
			Department temp(that);
			n_id = that.n_id;
			n_name = that.n_name;
			ems  = that.ems;
		}
		return *this;		
	}
	int Department::get_department_id()
	{
		return n_id;
	}
	string Department::get_department_name()
	{
		return n_name;
	}
	vector<Employee>& Department::get_department_ems()
	{
		return ems;
	}
	void Department::change_name(string str)
	{
		n_name = str;
	}
	void Department::change_id(int num)
	{
		n_id = num;
	}
	void Department::change_ems(vector<Employee> _ems)
	{
		ems = _ems;
	}
	Department::~Department(){}
